﻿/************************************************************************************
 * 
 * The MIT License
 * Copyright (c) 2010 Gaiaware AS
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 * 
 ***********************************************************************************/

.portal-button
{
	background:transparent url(extended-button.png) repeat-x scroll 0pt 0pt;
	border-color:#000066;
	border-style:solid;
	border-width:1px 0pt;
	margin:auto 0.25em;
	vertical-align:text-bottom;	
	font-size:14px;
	display:block;
	height:22px;
}

.portal-button:hover
{
	background-position: 0pt -300px;
}

.portal-button-focus
{
	background-position: 0pt -200px;
	border-color: #000066;
}

.portal-button .first-child {
	border-color:#000066;
	height: 100%; width: 100%;
	border-style:solid;
	border-width:0pt 1px;
	margin:0pt -1px;
	display:block;
}

.portal-button button, 
.portal-button a 
{
	padding:0pt 10px;
	border:medium none;
	display:inline;
	margin:0pt;
	padding-top:2px;
	color:#FFFFFF;
}

.portal-button button 
{
	background-color:transparent;
	cursor:pointer;
}

.portal-button-checked
{
	background-position:0pt -401px;
	border-color:#000066;
}

.portal-button-checked:hover
{
	background-position:0pt -202px;
	border-color:#000066;
}

.portal-button-checked button,
.portal-button-checked a 
{
	color:#FFFFFF;
}

.portal-button-disabled
{
	background-position:0pt -100px;
}

.portal-button-disabled:hover
{
	background-position:0pt -100px;
}

.portal-button-disabled button,
.portal-button-disabled a
{
	color: #fff;
	cursor: default;
}
